import netifaces
from scapy.all import *
print(conf.iface)

'''
\\Device\\NPF_{76F2B226-10A9-4755-9DD5-12CD8A5AEA34}
\\Device\\NPF_{79A8B217-7C33-4DED-87F1-A7662795759E}
\\Device\\NPF_{4F82A0AE-FA04-11EE-83FF-806E6F6E6963}
['{76F2B226-10A9-4755-9DD5-12CD8A5AEA34}', '{79A8B217-7C33-4DED-87F1-A7662795759E}', '{4F82A0AE-FA04-11EE-83FF-806E6F6E6963}']
'''
print(netifaces.interfaces())